package cm.itheima.Test1;

import cm.itheima.Test1.Emploee;

public   class Manager extends Emploee {
    private String clerk;
    @Override
    public void showMsg() {
        System.out.println(getDept() + "的：" + getName() + ",员工编号：" + getWorkId() + "\n他的职员是" + clerk);
    }

    public Manager() {
    }

    public Manager(String clerk) {
        this.clerk = clerk;
    }

    public Manager(String name, String workId, String dept, String clerk) {
        super(name, workId, dept);
        this.clerk = clerk;
    }

    public Manager(String name, String workId, String dept) {
        super(name, workId, dept);
    }

    public String getClerk() {
        return clerk;
    }

    public void setClerk(String clerk) {
        this.clerk = clerk;
    }

}

